﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Doan.Forum.Models
{
    public class CreateTopicViewModel
    {
        [Required]
        public string TopicTitle { get; set; }

        public string Tags { get; set; }

        [Required]
        public int Category { get; set; }

        [Required]
        [UIHint("markdowneditor"), AllowHtml]
        public string TopicContent { get; set; }

    }
}